<?php

namespace app\model\admin\sgz;

use laytp\BaseModel;

class SgzTeamGenerals extends BaseModel
{
    protected $name = 'sgz_team_generals';

    public function team(){
        return $this->hasOne("SgzTeam","id",'team_id')->where("is_show",1);
    }
}